<script src="/static/index/js/resize.js"></script>
<script src="/static/res/layui/layui.js"></script>
<script>
    //加载核心模块
    layui.extend({
        methods: "{/}/static/index/js/core/methods",
        listen: "{/}/static/index/js/core/listen"
    }).use(['methods', 'listen'], function () {
        //初始化核心监听模块
        layui.listen.init();
    });
</script>